package com.qf.j2112.service.impl;

import com.qf.j2112.mapper.DataMapper;
import com.qf.j2112.service.DataService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Service
public class DataServiceImpl implements DataService {
    @Resource
    private DataMapper dataMapper;

    @Override
    public List<Map<Date,Integer>> getVistNumPerDay() {
        return dataMapper.getVistNumPerDay();
    }

    @Override
    public List<Map<Integer, String>> getVistSellNum() {
        return dataMapper.getVistSellNum();
    }

    @Override
    public Integer  sellMoney() {
        return dataMapper.sellMoney();
    }

    @Override
    public Integer DaysellMoney() {
        return dataMapper.DaysellMoney();
    }

    @Override
    public Integer  WeeksellMoney() {
        return dataMapper.WeeksellMoney();
    }

    @Override
    public Integer  MonthsellMoney() {
        return dataMapper.MonthsellMoney();
    }
}
